package com.buss.customer.service;

import com.buss.core.persistence.ResultList;
import com.buss.customer.model.CustomerAccount;

public interface CustomerAccountService {
	/**
	 * 保存单位账号信息
	 * @param account
	 * @return
	 */
	CustomerAccount saveAccount(CustomerAccount account);
	
	/**
	 * 修改单位账号信息
	 * @param account
	 */
	void editAccount(CustomerAccount account);
	
	/**
	 * 删除指定单位账号信息
	 * @param id
	 */
	void removeAccount(Long[] ids);
	
	/**
	 * 获取指定的单位账号信息
	 * @param id
	 * @return
	 */
	CustomerAccount loadAccount(Long id);
	
	/**
	 * 根据条件获取单位账号信息列表
	 * @param customerId
	 * @param accountName
	 * @param accountNumber
	 * @return
	 */
	ResultList<CustomerAccount> queryAccount(Long customerId,String accountName,String accountNumber);
}
